package com.zensun.common.enums.domain;

/**
 * 用户信息表枚举类
 *
 * @author gmk
 */
public class SysRoleEnum {

    public static enum DataScope {

        DATA_SCOPE_ALL("1", "全部数据权限"),
        DATA_SCOPE_CUSTOM("2", "自定数据权限"),
        DATA_SCOPE_DEPT("3", "本部门数据权限"),
        DATA_SCOPE_DEPT_AND_CHILD("4", "本部门及以下数据权限"),
        DATA_SCOPE_SELF("5", "仅本人数据权限");

        private String code;
        private String value;

        DataScope(String code, String value) {
            this.code = code;
            this.value = value;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
